package com.nali.dal.statement.function;

import java.util.List;

import com.nali.dal.statement.util.DalCollectionUtils;

public abstract class EmptyDataHandler<V> implements DataHandler<V>{
	@Override
	public void validate(List<FunctionArgument> arguments) throws FunctionException {
		if(!DalCollectionUtils.isEmpty(arguments)) {
			throw new FunctionException("Datahandler: " + this.getClass() + ", argumetns' size must be zero");
		}
	}
}

